<?php

session_start();

if ($_SESSION['role'] == "100")
{
    session_register("EMAIL");
  session_register("PASSWORD");
  header("location:administrator.php?success");
}
else if ($_SESSION['role'] == "200")
{
    session_register("EMAIL");
  session_register("PASSWORD");
  header("location:index(jual).php?success");
}
else
	header("location:index(access).php?success");
?>